package com.ZeroCarbon.service;

import com.ZeroCarbon.domain.dto.ReplyDTO;
import com.ZeroCarbon.domain.po.Reply;
import com.ZeroCarbon.exception.BusinessLogicException;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IReplyService extends IService<Reply> {
    void replyComment(Reply reply) throws BusinessLogicException;

    List<ReplyDTO> getSubComments(String id) throws BusinessLogicException;

    int thumbsUpReply(String id) throws BusinessLogicException;

    Boolean isUserLikeReply(String id);

    void deleteReply(String id) throws BusinessLogicException;
}
